// @ts-ignore
import axiosInstance from "~/api";

export const getRandomLink = (params: any) => {
    return axiosInstance.get('/links/random', {
        params
    })
}

export const getFriendLink = () => {
    return axiosInstance.get('/category/friends/list')
}

export const postApply = (params: any) => {
    return axiosInstance.post('/link/apply', params)
}
